/****************************************************************************
** Meta object code from reading C++ file 'WidgetProvider.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../src/UI/WidgetProvider.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'WidgetProvider.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_UI__WidgetProvider_t {
    QByteArrayData data[32];
    char stringdata0[411];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UI__WidgetProvider_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UI__WidgetProvider_t qt_meta_stringdata_UI__WidgetProvider = {
    {
QT_MOC_LITERAL(0, 0, 18), // "UI::WidgetProvider"
QT_MOC_LITERAL(1, 19, 11), // "dataChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 18), // "widgetCountChanged"
QT_MOC_LITERAL(4, 51, 9), // "resetData"
QT_MOC_LITERAL(5, 61, 12), // "updateModels"
QT_MOC_LITERAL(6, 74, 13), // "mapGroupCount"
QT_MOC_LITERAL(7, 88, 14), // "gyroGroupCount"
QT_MOC_LITERAL(8, 103, 15), // "barDatasetCount"
QT_MOC_LITERAL(9, 119, 19), // "compassDatasetCount"
QT_MOC_LITERAL(10, 139, 23), // "accelerometerGroupCount"
QT_MOC_LITERAL(11, 163, 10), // "mapGroupAt"
QT_MOC_LITERAL(12, 174, 12), // "JSON::Group*"
QT_MOC_LITERAL(13, 187, 5), // "index"
QT_MOC_LITERAL(14, 193, 11), // "gyroGroupAt"
QT_MOC_LITERAL(15, 205, 12), // "barDatasetAt"
QT_MOC_LITERAL(16, 218, 14), // "JSON::Dataset*"
QT_MOC_LITERAL(17, 233, 16), // "compassDatasetAt"
QT_MOC_LITERAL(18, 250, 20), // "accelerometerGroupAt"
QT_MOC_LITERAL(19, 271, 7), // "compass"
QT_MOC_LITERAL(20, 279, 7), // "gyroYaw"
QT_MOC_LITERAL(21, 287, 8), // "gyroRoll"
QT_MOC_LITERAL(22, 296, 9), // "gyroPitch"
QT_MOC_LITERAL(23, 306, 14), // "accelerometerX"
QT_MOC_LITERAL(24, 321, 14), // "accelerometerY"
QT_MOC_LITERAL(25, 336, 14), // "accelerometerZ"
QT_MOC_LITERAL(26, 351, 3), // "bar"
QT_MOC_LITERAL(27, 355, 6), // "barMin"
QT_MOC_LITERAL(28, 362, 6), // "barMax"
QT_MOC_LITERAL(29, 369, 11), // "mapLatitude"
QT_MOC_LITERAL(30, 381, 12), // "mapLongitude"
QT_MOC_LITERAL(31, 394, 16) // "totalWidgetCount"

    },
    "UI::WidgetProvider\0dataChanged\0\0"
    "widgetCountChanged\0resetData\0updateModels\0"
    "mapGroupCount\0gyroGroupCount\0"
    "barDatasetCount\0compassDatasetCount\0"
    "accelerometerGroupCount\0mapGroupAt\0"
    "JSON::Group*\0index\0gyroGroupAt\0"
    "barDatasetAt\0JSON::Dataset*\0"
    "compassDatasetAt\0accelerometerGroupAt\0"
    "compass\0gyroYaw\0gyroRoll\0gyroPitch\0"
    "accelerometerX\0accelerometerY\0"
    "accelerometerZ\0bar\0barMin\0barMax\0"
    "mapLatitude\0mapLongitude\0totalWidgetCount"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UI__WidgetProvider[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      26,   14, // methods
       1,  204, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  144,    2, 0x06 /* Public */,
       3,    0,  145,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    0,  146,    2, 0x08 /* Private */,
       5,    0,  147,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
       6,    0,  148,    2, 0x02 /* Public */,
       7,    0,  149,    2, 0x02 /* Public */,
       8,    0,  150,    2, 0x02 /* Public */,
       9,    0,  151,    2, 0x02 /* Public */,
      10,    0,  152,    2, 0x02 /* Public */,
      11,    1,  153,    2, 0x02 /* Public */,
      14,    1,  156,    2, 0x02 /* Public */,
      15,    1,  159,    2, 0x02 /* Public */,
      17,    1,  162,    2, 0x02 /* Public */,
      18,    1,  165,    2, 0x02 /* Public */,
      19,    1,  168,    2, 0x02 /* Public */,
      20,    1,  171,    2, 0x02 /* Public */,
      21,    1,  174,    2, 0x02 /* Public */,
      22,    1,  177,    2, 0x02 /* Public */,
      23,    1,  180,    2, 0x02 /* Public */,
      24,    1,  183,    2, 0x02 /* Public */,
      25,    1,  186,    2, 0x02 /* Public */,
      26,    1,  189,    2, 0x02 /* Public */,
      27,    1,  192,    2, 0x02 /* Public */,
      28,    1,  195,    2, 0x02 /* Public */,
      29,    1,  198,    2, 0x02 /* Public */,
      30,    1,  201,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Int,
    QMetaType::Int,
    QMetaType::Int,
    QMetaType::Int,
    QMetaType::Int,
    0x80000000 | 12, QMetaType::Int,   13,
    0x80000000 | 12, QMetaType::Int,   13,
    0x80000000 | 16, QMetaType::Int,   13,
    0x80000000 | 16, QMetaType::Int,   13,
    0x80000000 | 12, QMetaType::Int,   13,
    QMetaType::Int, QMetaType::Int,   13,
    QMetaType::Double, QMetaType::Int,   13,
    QMetaType::Double, QMetaType::Int,   13,
    QMetaType::Double, QMetaType::Int,   13,
    QMetaType::Double, QMetaType::Int,   13,
    QMetaType::Double, QMetaType::Int,   13,
    QMetaType::Double, QMetaType::Int,   13,
    QMetaType::Double, QMetaType::Int,   13,
    QMetaType::Double, QMetaType::Int,   13,
    QMetaType::Double, QMetaType::Int,   13,
    QMetaType::Double, QMetaType::Int,   13,
    QMetaType::Double, QMetaType::Int,   13,

 // properties: name, type, flags
      31, QMetaType::Int, 0x00495001,

 // properties: notify_signal_id
       0,

       0        // eod
};

void UI::WidgetProvider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<WidgetProvider *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->dataChanged(); break;
        case 1: _t->widgetCountChanged(); break;
        case 2: _t->resetData(); break;
        case 3: _t->updateModels(); break;
        case 4: { int _r = _t->mapGroupCount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 5: { int _r = _t->gyroGroupCount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 6: { int _r = _t->barDatasetCount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 7: { int _r = _t->compassDatasetCount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 8: { int _r = _t->accelerometerGroupCount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 9: { JSON::Group* _r = _t->mapGroupAt((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< JSON::Group**>(_a[0]) = std::move(_r); }  break;
        case 10: { JSON::Group* _r = _t->gyroGroupAt((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< JSON::Group**>(_a[0]) = std::move(_r); }  break;
        case 11: { JSON::Dataset* _r = _t->barDatasetAt((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< JSON::Dataset**>(_a[0]) = std::move(_r); }  break;
        case 12: { JSON::Dataset* _r = _t->compassDatasetAt((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< JSON::Dataset**>(_a[0]) = std::move(_r); }  break;
        case 13: { JSON::Group* _r = _t->accelerometerGroupAt((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< JSON::Group**>(_a[0]) = std::move(_r); }  break;
        case 14: { int _r = _t->compass((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 15: { double _r = _t->gyroYaw((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 16: { double _r = _t->gyroRoll((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 17: { double _r = _t->gyroPitch((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 18: { double _r = _t->accelerometerX((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 19: { double _r = _t->accelerometerY((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 20: { double _r = _t->accelerometerZ((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 21: { double _r = _t->bar((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 22: { double _r = _t->barMin((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 23: { double _r = _t->barMax((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 24: { double _r = _t->mapLatitude((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        case 25: { double _r = _t->mapLongitude((*reinterpret_cast< const int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (WidgetProvider::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WidgetProvider::dataChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (WidgetProvider::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WidgetProvider::widgetCountChanged)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<WidgetProvider *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->totalWidgetCount(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject UI::WidgetProvider::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_UI__WidgetProvider.data,
    qt_meta_data_UI__WidgetProvider,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *UI::WidgetProvider::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *UI::WidgetProvider::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_UI__WidgetProvider.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int UI::WidgetProvider::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 26;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void UI::WidgetProvider::dataChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void UI::WidgetProvider::widgetCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
